.editable-cell {
    position: relative;
}

.editable-cell-value-wrap {
    padding: 5px 5px;
    cursor: pointer;
    height: 100%;
}

.editable-row:hover .editable-cell-value-wrap {
    padding: 4px 4px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    height: 100%;
}

[data-theme="dark"] .editable-row:hover .editable-cell-value-wrap {
    border: 1px solid #434343;
}

.ant-table-thead>tr>th,
.ant-table-tbody>tr>td,
.ant-table tfoot>tr>th,
.ant-table tfoot>tr>td {
    position: relative;
    padding: 5px 5px;
    overflow-wrap: break-word;
}

.ant-table-tbody>tr {
    height: 36px;
}

.ant-steps-item-icon .ant-steps-icon {
    position: relative;
    top: -1px;
    color: #1890ff;
    line-height: 1;
}

.comment-action {
    padding-left: 8px;
    cursor: "auto";
}

[class*="-col-rtl"] .comment-action {
    padding-right: 8px;
    padding-left: 0;
}

.feffery-paste-image-container {
    height: 400px;
    overflow: auto;
    border: 1px solid #d9d9d9;
    transition: all 0.3s, height 0s;
    cursor: url(),
        auto;
}

.feffery-paste-image-container:hover {
    border: 1px solid rgb(64, 169, 255);
}

/* AntdTable自定义角标模式 */
.ant-corner-mark-top-right {
    position: relative;
    height: 100%;
}

.ant-corner-mark-top-right:after {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border: 6px solid var(--ant-corner-mark-color);
    border-bottom: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top-right-radius: 2px;
    content: "";
    transform: var(--ant-corner-mark-transform);
}

.ant-corner-mark-top-left {
    position: relative;
    height: 100%;
}

.ant-corner-mark-top-left:after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 0;
    height: 0;
    border: 6px solid var(--ant-corner-mark-color);
    border-bottom: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top-left-radius: 2px;
    content: "";
    transform: var(--ant-corner-mark-transform);
}

.ant-corner-mark-bottom-left {
    position: relative;
    height: 100%;
}

.ant-corner-mark-bottom-left:after {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 0;
    height: 0;
    border: 6px solid var(--ant-corner-mark-color);
    border-top: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom-left-radius: 2px;
    content: "";
    transform: var(--ant-corner-mark-transform);
}

.ant-corner-mark-bottom-right {
    position: relative;
    height: 100%;
}

.ant-corner-mark-bottom-right:after {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border: 6px solid var(--ant-corner-mark-color);
    border-top: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom-right-radius: 2px;
    content: "";
    transform: var(--ant-corner-mark-transform);
}

/* 修复AntdTabs开启tabPane切换动画后滚动条异常问题 */
.ant-tabs {
    overflow-x: hidden;
}

.ant-modal-wrap-overwrite {
    pointer-events: none;
}

.ant-tree-draggable-icon {
    cursor: grab;
}

/* 确保spin容器高度继承自wrapperClassName */
.ant-spin-nested-loading>.ant-spin-container {
    height: inherit;
}

/* 为AntdButton内嵌元素设置间距 */
.ant-btn>*:not(:last-child) {
    margin-right: 0.25em;
}